#########################################################################
#  Spanyol polgrhbor - Portugl beavatkozs
#########################################################################
event = { 
	id = 91269
	random = no
	country = POR
	
	trigger = {
		OR = {
				headofgovernment = 9002 #Salazar
			}
		war = { country = SPA country = SPR }
		event = 3100 #SPA fascist nation
		NOT = {
			OR = {
			war = { country = POR country = SPA }
			war = { country = POR country = SPR }
			war = { country = POR country = SOV }
			war = { country = POR country = ENG }
			war = { country = POR country = USA }
			}
		}
	}
	
	name = "EVT_91269_NAME"
	desc = "EVT_91269_DESC"
	style = 0
	picture = "SCW_Italian_Intervention"

	date = { day = 27 month = july year = 1936 }
	offset = 5
	deathdate = { day = 30 month = december year = 1963 }
	
	action_a = {
		name = "ACTIONNAME91269A" # Hadianyag s nkntesek kldse Franconak
		ai_chance = 97
		command = { type = dissent value = 1 }
		command = { type = relation which = SPA value = 20 }
		command = { type = relation which = SPR value = -20 }
		command = { type = manpowerpool value = -1 }
		command = { type = supplies value = -40 }
		command = { type = access which = SPA }
		command = { type = trigger which = 91270 } 
	}
	action_b = {
		name = "ACTIONNAME91269B" # Semlegessg
		ai_chance = 3
		command = { type = dissent value = 1 }
		command = { type = relation which = SPA value = 2 }
		command = { type = relation which = SPR value = 2 }
		command = { type = relation which = FRA value = 5 }
		command = { type = relation which = ENG value = 5 }
		command = { type = relation which = SOV value = 5 }
		command = { type = relation which = GER value = 1 }
	}
}

#  Spanyol polgrhbor vge - Portugl beavatkozs
##################################################
event = {
	id = 91271
	random = no
	country = POR

	trigger = {
		event = 91270
		OR = {
			event = 3004
			AND = {
				flag = SCW_allied_intervention	# If allies intervene then it doesnt matter which side wins 
				OR = {
					NOT = { exists = SPR }
					NOT = { exists = SPA }
				}
			}
		}
		NOT = {
			OR = {
			war = { country = POR country = SPA }
			war = { country = POR country = SPR }
			war = { country = POR country = SOV }
			war = { country = POR country = ENG }
			war = { country = POR country = USA }
			}
		}
	}

	name = "EVT_91271_NAME"
	desc = "EVT_91271_DESC"
	style = 0
	picture = "SCWita" 

	date = { day = 28 month = july year = 1936 }
	offset = 5
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME91271A" # Great! 
		command = { type = relation which = SPA value = 20 }
		command = { type = gain_tech which = 9060 }
		command = { type = end_access which = SPA }
	}
}